from django.template import RequestContext
from django.template import Context, Template
from django.shortcuts import render_to_response
from django.middleware.csrf import get_token
from django.core.context_processors import csrf
from django.views.decorators.csrf import csrf_exempt
from cue.models import Cue

@csrf_exempt
def index(request):
	c = {}
	c.update(csrf(request))
	
	return render_to_response("cues.html",
    	{'nodes':Cue.objects.all()},
    	context_instance=RequestContext(request))